home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol K-12
/
Vol K-12.iso
/
games
/
extrem_t.exe
/
scripts
/
DefineSprite_435
/
frame_9
/
DoAction.as
Wrap
Text File
|
2012-08-27
|
1KB
|
59 lines
function destructionObjet(numero, bool)
{
set("objEnCours" add numero,false);
set("objDetruit" add numero,true);
if(!bool)
{
eval("objEnnemi" add numero)._visible = false;
}
else
{
eval("objEnnemi" add numero).armeNiv1.armeNiv2.gotoAndStop(3);
}
}
incHinit = 8;
decHinit = 2;
incVinit = 2;
decVinit = 1;
delayMax = 10;
difficulte = 16;
decorXmin = 112.5;
decorXmax = 437.5;
decorYmin = 180;
decorYmax = 220;
percent = 100;
repositionnement = true;
tirGo = false;
TirNumero = 0;
tirEnCours = false;
tirPossible = true;
lancementObjet = false;
frameTir = 14;
NBmunition = 8;
frameProjo = random(8) + 1;
tir.projectile.gotoAndStop(frameProjo);
icone.gotoAndStop(frameProjo);
catapulte.gotoAndStop(100);
icone.NBmunMC.gotoAndStop(9);
cata.arbalete.arbaleteniv2.gotoAndStop(1);
i = 1;
while(50 >= i)
{
set("PasObjEnnemi" add i,0);
set("XfinObjEnnemi" add i,275);
set("incYobjEnnemi" add i,-5);
set("decYobjEnnemi" add i,0.1);
i++;
}
NBpasEnnemi = 150;
tamponXdecor = decor._x;
_quality = "low";
if(_parent.percentScaling < 75)
{
NBobjetMAX = 9;
}
else
{
NBobjetMAX = 12;
}